package org.linlinjava.litemall.db.dao;

import java.util.List;

import com.github.yulichang.base.MPJBaseMapper;
import org.apache.ibatis.annotations.Param;
import org.linlinjava.litemall.db.domain.LumierePayMember;
import org.linlinjava.litemall.db.domain.LumierePayMemberExample;

public interface LumierePayMemberMapper extends MPJBaseMapper<LumierePayMember> {
    long countByExample(LumierePayMemberExample example);

    int deleteByExample(LumierePayMemberExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(LumierePayMember record);

    int insertSelective(LumierePayMember record);

    LumierePayMember selectOneByExample(LumierePayMemberExample example);

    LumierePayMember selectOneByExampleSelective(@Param("example") LumierePayMemberExample example, @Param("selective") LumierePayMember.Column ... selective);

    List<LumierePayMember> selectByExampleSelective(@Param("example") LumierePayMemberExample example, @Param("selective") LumierePayMember.Column ... selective);

    List<LumierePayMember> selectByExample(LumierePayMemberExample example);

    LumierePayMember selectByPrimaryKeySelective(@Param("id") Integer id, @Param("selective") LumierePayMember.Column ... selective);

    LumierePayMember selectByPrimaryKey(Integer id);

    LumierePayMember selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") LumierePayMember record, @Param("example") LumierePayMemberExample example);

    int updateByExample(@Param("record") LumierePayMember record, @Param("example") LumierePayMemberExample example);

    int updateByPrimaryKeySelective(LumierePayMember record);

    int updateByPrimaryKey(LumierePayMember record);

    int logicalDeleteByExample(@Param("example") LumierePayMemberExample example);

    int logicalDeleteByPrimaryKey(Integer id);
}